package com.dhcc.sdc.busi.dao;

import com.baomidou.mybatisplus.plugins.Page;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

@Mapper
public interface SdcHomeIndexMapper {
    Map<String, Object> getHomeSumData(@Param("map") Map<String, Object> map);
    List<Map<String, Object>> getDrgChartData(@Param("map") Map<String, Object> map);
    List<Map<String, Object>> getDepartChartData(@Param("map") Map<String, Object> map);
    List<Map<String, Object>> getDoctorChartData(@Param("map") Map<String, Object> map);
    List<Map<String, Object>> getPatientChartData(@Param("map") Map<String, Object> map);
    List<Map<String, Object>> selectAllDepartData(@Param("map") Map<String, Object> map);
    List<Map<String, Object>> selectAllDoctorData(@Param("map") Map<String, Object> map);
    /**
     * 病例列表
     * @param page
     * @param map
     * @return
     */
    List<Map<String, Object>> qcCaseList(@Param("sqlStr")String sqlStr, @Param("page") Page<Map<String, Object>> page, @Param("map") Map<String, Object> map);
    List<Map<String, Object>> qcEntityList(@Param("sqlStr")String sqlStr, @Param("page") Page<Map<String, Object>> page, @Param("map") Map<String, Object> map);
    Map<String, Object> getLeaveHomeSumData(@Param("map")Map<String, Object> map);

    List<Map<String, Object>> getLeaveDrgChartData(@Param("map")Map<String, Object> map);

    List<Map<String, Object>> getLeaveDepartChartData(@Param("map")Map<String, Object> map);

    List<Map<String, Object>> getLeaveDoctorChartData(@Param("map")Map<String, Object> map);

    List<Map<String, Object>> getLeavePatientChartData(@Param("map")Map<String, Object> map);

    List<Map<String, Object>> selectLeaveAllDepartData(@Param("map")Map<String, Object> map);

    List<Map<String, Object>> qcLeaveCaseList(@Param("sqlStr")String sqlStr, @Param("page") Page<Map<String, Object>> page, @Param("map") Map<String, Object> map);

    List<Map<String, Object>> selectLeaveAllDoctorData(@Param("map") Map<String, Object> map);

    List<Map<String, Object>> qcLeaveEntityList(@Param("sqlStr")String sqlStr, @Param("page") Page<Map<String, Object>> page, @Param("map") Map<String, Object> map);
}
